<script src="script.js"></script>
监听开关： <input type="checkbox" id="toggle" onchange="toggleTraining(this.checked)">
